package com.lwt.pojo;

/**
 * @Author Li Weitong
 * @Date 2020/11/22 15:29
 */
public class Grade {
    private int gradeId;
    private String gradeName;

    public Grade() {
    }

    public Grade(int gradeId, String gradeName) {
        this.gradeId = gradeId;
        this.gradeName = gradeName;
    }

    public int getGradeId() {
        return gradeId;
    }

    public void setGradeId(int gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    @Override
    public String toString() {
        return
        "年级编号\t年级名称"+"\n"+
         "\t"+gradeId+"\t\t"+gradeName+"\n"+

         "---------------------------------------";
    }
}
